package com.javalab._7thread._4ThreadLocal;

public class Test {
    public static void main(String[] args) {
        FlashUSB flashUSB1 = new FlashUSB();
        flashUSB1.setText("《钢铁是如何练成》");
        MyThread myThread1 = new MyThread("小明", flashUSB1);

        FlashUSB flashUSB2 = new FlashUSB();
        flashUSB2.setText("《简·爱》");
        MyThread myThread2 = new MyThread("小红", flashUSB2);

        myThread1.start();
        myThread2.start();
    }
}
